package io.finer.erp.jeecg.stock.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import io.finer.erp.jeecg.finance.vo.PurchaseOrderEntryVO;
import io.finer.erp.jeecg.finance.vo.PurchaseOrderVO;
import io.finer.erp.jeecg.stock.entity.PurchaseOrder;

/**
 * @Description: 出入库单
 * @Author: jeecg-boot
 * @Date:   2021-05-20
 * @Version: V1.0
 */
public interface PurchaseOrderMapper extends BaseMapper<PurchaseOrder> {
	IPage<PurchaseOrder> getConditionOrder(Page<PurchaseOrder> page, @Param("map")Map<String, Object> map);
	
	IPage<PurchaseOrderVO> getPurchaseOrderList(Page<PurchaseOrderVO> page, @Param("map")Map<String, Object> map);
	
	List<PurchaseOrderVO> getPurchaseOrderList(@Param("map")Map<String, Object> map);
	
	List<PurchaseOrderEntryVO> getPurchaseOrderEntryList(@Param("map")Map<String, Object> map);
}
